package snowforce.datatype;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class EvaluationJSON
{
	public final static String	EVAL_STATUS_OK				= "OK";
	public final static String	EVAL_STATUS_INVALID_ROUTE	= "INVALID_ROUTE";
	public final static String	EVAL_STATUS_TIME_OUT		= "TIME_OUT";

	private String				status						= "";
	private float				eval						= 0.0f;

	public EvaluationJSON()
	{

	}

	public EvaluationJSON(String status, float eval)
	{
		super();
		this.status = status;
		this.eval = eval;
	}

	public String getStatus()
	{
		return status;
	}

	public void setStatus(String status)
	{
		this.status = status;
	}

	public float getEval()
	{
		return eval;
	}

	public void setEval(float eval)
	{
		this.eval = eval;
	}

	@Override
	public String toString()
	{
		StringBuilder builder = new StringBuilder();
		builder.append("EvaluationJSON [status=");
		builder.append(status);
		builder.append(", eval=");
		builder.append(eval);
		builder.append("]");
		return builder.toString();
	}

}